using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 原材料未来价格指数预测，设置管理员角色的工号，可以从ESB接口获取所有数据
    /// </summary>
    public class YCLWLJGZSYCRole
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        [JsonProperty(PropertyName = "WorkNumber")]
        public string WorkNumber { get; set; }

        /// <summary>
        /// 角色类型1：管理员
        /// </summary>
        [JsonProperty(PropertyName = "RoleType")]
        public int RoleType { get; set; } = 1;

        /// <summary>
        /// 状态0：无效 1：有效
        /// </summary>
        [JsonProperty(PropertyName = "Status")]
        public int Status { get; set; }
    }
}
